package com.examsys.dao;

import java.util.List;

import com.examsys.po.Question;
import com.examsys.po.QuestionOptions;
/**
 * 试题数据访问层接口
 * @author edu-1
 *
 */
public interface QuestionDao{
	public Integer getSeq() throws Exception;//获取试题系列
	
	public List<QuestionOptions> getQuestionOptions(Integer id) throws Exception;

	//添加
	public void add(Question obj) throws Exception;
	
	//修改
	public void update(Question obj) throws Exception;

	//删除
	public void delete(Integer id) throws Exception;
	
	//通过主键ID查询一条记录
	public Question get(Integer id) throws Exception;
	
	//查询所有信息
	public List<Question> getList1() throws Exception;
	
	//通过条件查询所有信息
	public List<Question> getList2(Question obj) throws Exception;
	
	//通过条件查询所有信息
	public List<Question> getList3(Question obj) throws Exception;
	
	public Integer getSeq1() throws Exception;
	
}
